package com.jiejie.service;

import com.jiejie.commons.ServerResponse;
import com.jiejie.entity.Customer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiejie.entity.Hall;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 辰广
 * @since 2022-10-05
 */
public interface ICustomerService extends IService<Customer>{
    /*public Customer getById(Integer customerId);
    public int saveCustomer(Customer customer);
    public int updateCustomer(Customer customer);
    public int deleteById(Integer customerId);*/
    public ServerResponse login(Customer customer);
    public ServerResponse regist(Customer customer);
    public ServerResponse loginByMessage(Customer customer);
    public Boolean sendMessage(Long customerTel, String code, Map<String,Object> codeMap);
}
